<?php
error_reporting(E_ALL);
ini_set('display_errors', '1');

require 'includes/user.configuration.php';
require 'includes/twitter.main.class.php';
$twitter = new Twitter($username,$password,$owner_username);

// First of all, we do $twitter = new Twitter($username,$password,$owner_username); to login to Twitter.
// After which, we can either do:
//
//$twitter->action('get_status');
//
// OR
//
//$twitter->action('get_messages');
//
// To get the user's status or messages respectively.
// It is not recommended to do both as these use rate limit calls.
// We can then execute some of the following (self-explanitory) commands
// depending on what we included above.
//
//
//$twitter->action('get_status');
//$twitter->action('update_status','Timing test.');
//$twitter->action('delete_status');
//$twitter->action('get_messages');
//$twitter->action('new_message','message','user');
//$twitter->action('delete_message');
//$twitter->action('follow_user','user');
//$twitter->action('get_rate_limit');
?>